
var JSON2XML = {};

JSON2XML.converter = function(){
	this.convert = function(json){
		return (org.json.XML.toString(new org.json.JSONObject(json.toSource().replace(/^\(|\)$/,""))) + "").replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,'&').replace(/&quot;/g,'"');
	}
}

